﻿namespace WindowsApplication2._912_进程_线程.线程.创建Thread对象
{
    public class Sample
    {
        private System.Windows.Forms.ListBox listBox1;

        public Sample(System.Windows.Forms.ListBox a)
        {
            this.listBox1 = a;
        }

        public void work()
        {
            listBox1.Items.Add("Sample的work线程已运行0");
        }
    }
}